package com.win.service;

import com.win.pojo.Happiness;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
* @author 54478
* @description 针对表【happiness】的数据库操作Service
* @createDate 2024-05-20 16:41:54
*/
public interface HappinessService extends IService<Happiness> {
    /**
     * 该方法用来处理excel文件
     * @param file
     * @param username
     */
    void importExcelFile(MultipartFile file, String username) throws IOException;

    /**
     * 处理csv文件
     * @param file
     * @param username
     */
    void importCSVFile(MultipartFile file, String username) throws IOException;
}
